#include "config_main.h"
#ifdef DDENN_INS_ACCELEROMETER_AM9
/*
 * ins_accelerometer_am9.h
 *
 *  Created on: 08.06.2009
 *      Author: Admin
 */

#ifndef INS_ACCELEROMETER_AM9_H_
#define INS_ACCELEROMETER_AM9_H_

#include "xplane_tools.h"
#include <XPLMUtilities.h>
#include <stdlib.h>

/**************************************************************************************/
//
//          it provides ddenn/instruments/am9/
//
/*************************************************************************************/


namespace DdennAm9{
extern float Am9NegMax;
extern float Am9PosMax;


void RegisterDdennAm9();
void UnregisterDdennAm9();
void OnCrash();

bool IsPowered();
int Am9Reset(
                                   XPLMCommandRef       inCommand,
                                   XPLMCommandPhase     inPhase,
                                   void *               inRefcon);
float GetInsAm9NegMax ( void *               inRefcon);
float GetInsAm9Main ( void *               inRefcon);
float GetInsAm9PosMax ( void *               inRefcon);




}
#endif /* INS_ACCELEROMETER_AM9_H_ */
#endif
